<template>
  <category-dict-editor :type="type" :name="typeName" />
</template>

<script>
export default {
  components: {},

  data() {
    return {
      type: '',
      typeName: ''
    }
  },
  watch: {
    $route(to, from) {
      this.type = to.meta.type
      this.dataDictName = to.meta.title
    }
  },
  created() {
    this.type = this.$route.meta.type
    this.typeName = this.$route.meta.title
  },
  methods: {

  }
}
</script>
<style lang="scss" >

</style>

